<!DOCTYPE html>
<html lang="zh-CN" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>File Upload</title>
</head>
<body>
<h1>File Upload</h1>
<form action="/upload" method="post" enctype="multipart/form-data">
    <input type="file" name="file" accept=".txt,.pdf,.doc,.docx">
    <button type="submit">Upload File</button>
</form>


<h1>File Upload and Search</h1>
<form action="/search" method="get">
    <label for="search">Search:</label>
    <input type="text" id="search" name="textquery" placeholder="Enter search term...">
    <button type="submit">Search</button>
</form>
</body>
</html>
